#pragma once
//#include "TCPServer\TCPServer.h"
#include <map>
#include <Login_Process.h>
#include <thread>
#include "WinDetecter/WinDetecter.h"
#include "TCP/TcpServer.h"


class Login_v1 : public Login_Process
{
	std::map<DL_CMD, DL_COM_FUNC> _M_DL_map;
	WinDetecter					  _M_deteter;
	//TCPServer					  _M_server;
	CTcpServer                    _M_server;

	//LogSubmit						logSubmit;

DL_INTERFACE

	DL_RET _config(DL_PARAM_IN in);
	DL_RET _start();

public:
	DL_RET exec(DL_CMD, DL_PARAM_IN = nullptr) override;
	Login_v1();
	~Login_v1();

};


